﻿using System;

namespace ShpMergerConsole
{
    internal class OutputString
    {
        public static string InputReminder
        {
            get { return @"User\Iput Order> ";}
        }
        public static string Version
        {
            get { return "ShapeFileMerger [Version 1.0]" + Environment.NewLine; }
        }
        public static string Help
        {
            get
            {
                return "Version: -v" + Environment.NewLine
                    + "Help: -h" + Environment.NewLine
                    + "Clear: -c" + Environment.NewLine
                    + "Merge from directory: -md [directory] [destfile]"
                    + Environment.NewLine
                    + "Merge from file(files): -mf [file1] [file2] [...] [destfile]"
                    + Environment.NewLine
                    + "Quit: -q" + Environment.NewLine;
            }
        }
        public static string WrongOrder
        {
            get { return "^Errror: wrong order, please input -h to get order list"
                 + Environment.NewLine;
            }
        }
        public static string WrongParameter
        {
            get { return "^Errror: wrong parameter, please input -h to get order parameter"
                 + Environment.NewLine;
            }
        }
        public static string WrongSrcDirectory
        {
            get { return "^Error: source directory is not exists" + Environment.NewLine; }
        }
        public static string LackSrcFiles
        {
            get { return "^Error: there is must at least 2 source file" + Environment.NewLine; }
        }
        public static string WrongDestDirectory
        {
            get { return "^Error: destination directory is not exists" + Environment.NewLine; }
        }
        public static string WrongDestFile
        {
            get { return "^Error: destination file must be *.shp" + Environment.NewLine; }
        }
        public static string MergeStart
        {
            get { return "--Initialize Destination File--" + Environment.NewLine; }
        }
        public static string MergeComplete
        {
            get { return Environment.NewLine + "--Merge Complate--"
                + Environment.NewLine + Environment.NewLine;
            }
        }

        public OutputString()
        {
            ;
        }

        public static string WrongSrcFiles(string fileIndex)
        {
            return "^Error: source file " +  fileIndex
                + "is wrong, please check it(them)" + Environment.NewLine;
        }

        public static string RepetitiveFiles(string fileIndex)
        {
            return "^Error: source file " + fileIndex
                + " is repet, please check it(them)" + Environment.NewLine;
        }

        public static string Merging(string srcFile, string DestFile)
        {
            return "Add: " + srcFile + Environment.NewLine + " To: " + DestFile
                + Environment.NewLine;
        }
    }
}
